<?php
include"arriba.html";
include"menu.html";
?>
<form id='form1' name='form1' method='POST'> 
<div class="submenu">  
<table>
         <tr>
           <td>Usuario:</td></tr>
         <tr><td><input type="text" id='usuario' name="usuario"></td>
         </tr>
		 <tr>
           <td>Password:</td></tr>
         <tr>
		   <td><input name="psw" type="password" id='password'></td>
         </tr>
       </table>

<input type='submit'  name = 'Entrar' id='button' value = 'Entrar' class='button'>
</div>	   
<center><div id="ajax">&nbsp;</div></center>
<script type="text/javascript">
$(function (e) {
	$('#form1').submit(function (e) {
		e.preventDefault()
		$('#ajax').load('accesar.php?' + $('#form1').serialize())
	})
})
</script>
<?php
include"abajo.html";
?>
